package com.silverbox.sweeporder.common;

/**
 * 支付宝服务窗环境常量（demo中常量只是参考，需要修改成自己的常量值）
 * 
 * @author taixu.zqq
 * @version $Id: AlipayServiceConstants.java, v 0.1 2014年7月24日 下午4:33:49 taixu.zqq Exp $
 */
public enum AlipayServiceEnvConstants {
	
		/**支付宝公钥-从支付宝服务窗获取*/
		ALIPAY_PUBLIC_KEY("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB"),
	
	    /**签名编码-视支付宝服务窗要求*/
	    SIGN_CHARSET("UTF-8"),
	
	    /**字符编码-传递给支付宝的数据编码*/
	    CHARSET("UTF-8"),
	
	    /**签名类型-视支付宝服务窗要求*/
	    SIGN_TYPE("RSA"), 
	   
	    PARTNER("2088611330087634"),
	
	    /** 服务窗appId  */
	    //!!!! 注：该appId必须设为开发者自己的服务窗id  这里只是个测试id
//	    APP_ID("2016052601445428"),
	    
//	    APP_ID("2016071501621121"),
	    APP_ID("2015081300213117"),
	    //开发者请使用openssl生成的密钥替换此处  请看文档：https://fuwu.alipay.com/platform/doc.htm#2-1接入指南
	    //TODO !!!! 注：该私钥为测试账号私钥  开发者必须设置自己的私钥 , 否则会存在安全隐患 
	    PRIVATE_KEY("MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBANkQr05EI7zEuZbBnA6pbDhGFvpRrfQEypBC/k5QRzA3zvhHaHHOP8BJzrRHxSaAkoUWrs48XS1eogUBlq8TC0GMq8VzvzVJNP0PZWXmegjiSfApaYXRe8VwmtXarpLofsMoTSSj5hHLzFqxxEZoLyVuL8xIryqzqyOKg5zn4a97AgMBAAECgYBhpbnXMZwKDU2X3h0AE4NVhWJM1XW1snoVj62rOT3tGQ4Ibsczex7+t7U/MJImEezX5i5ZJJqeEFY+fkp1E9IZpJS63TkL3TBRiq0fVUlM4NCvGWrWoZbZXodooHFjHbRtbieZdKacQBV438t1OmfRyoMgU3VMu3qHB/k99d2KkQJBAPV60/5exvrnJa+L1KlBlC61gRLTpNCm/5H4eESacXrrkBM+gWff+csiDqH5+47s9uf7ooyRgLpHC+2dpwJT4JcCQQDiXh5MnkN+zqR7Wkm4YOI7LnVbTiwOw3wjBFHzs5OWCwBZfV64qa27FHe+r4WMeNUeU5tFqXrwWXWhg/HFbiC9AkEAhL8XRMcb8zJsPrHvHlhIOboNQpEQ34RvUBB9eRvLoh0gnEeA0xtbiW2xXAZC8tdR7cE19a35XsJswOIwHiIdoQJBAJDF1Ob3iP8+tZ9WfTN4cveanN/KPQ8sIuZaSvdrcAZT/uM89SlxC3VMf9DqfKT8WoDMw89ntwKklEC6HBRCfJkCQC5fsPGJ0ueWMZ5ayjcg8gzmroaACqW2gEtxCTvvyp+/CqGpUZlBgAfDm/h1yR0GQtDMG0cwrsbb9WNzkTI46QQ="),
	    											    
	    //TODO !!!! 注：该公钥为测试账号公钥  开发者必须设置自己的公钥 ,否则会存在安全隐患
	    PUBLIC_KEY("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDZEK9ORCO8xLmWwZwOqWw4Rhb6Ua30BMqQQv5OUEcwN874R2hxzj/ASc60R8UmgJKFFq7OPF0tXqIFAZavEwtBjKvFc781STT9D2Vl5noI4knwKWmF0XvFcJrV2q6S6H7DKE0ko+YRy8xascRGaC8lbi/MSK8qs6sjioOc5+GvewIDAQAB"),
	
	    /**支付宝网关*/
	    ALIPAY_GATEWAY("https://openapi.alipay.com/gateway.do"),
	
	    /**授权访问令牌的授权类型*/
	    GRANT_TYPE("authorization_code"),
		
	    //支付宝小程序App_id
	    SMALL_PROGRAM_APP_ID("2019022063298110"),
	    
	    //支付宝小程序公钥
		SMALL_PROGRAM_PUBL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1myj/wsLODw0r4kI8t+voFQtMnIO4uODCMYF59qXe99EBS3rHf7bGWW6Z3BQRrEBI71oAECgYEA/Tk8Rt92hycp79zv9awiPPlRSd8bBjqzhir5YLKjrS2Lp0/1AIK3oGKI/b8i/TQm0fEUkZwKXlv+WSrGB3JJACq+9cVMHFRAjN/3Bhi9oTTTFQqJbuJX+m21Gyes1XorEW3qxFIfUmilY+jkIGmOkLkT/jw7V7YxOZ58ncudUAECgYEAxqjbj39gnX7B3xVBnmYXAHlV7JSnJPBbrDhpnRXSCKzL8pzu+DoJWqqL3zjFvh86YUu/GGP9pQSxMXpW9K2te3iXp/zYxdLNiuQBPeKKanSi+u5u4KVzzfIW2y5Es+0OtSnee8tX7l/LUYnM82oXtjHLFVavBMoUezzUkgXwJrMCgYEAvMVmQg9kdOylPsMdv69K9tmF1+QSaVppaqOutH93tSo26cuZgX/xFAdgyIkstEWkiu2Fv+brc9xwiFhyuCpicVVsdhtW2eeVF2/+3vSiqQKQOSdZvOfPXklasZuqJJqmcJ/YW/I8l1qbsRd0uRT3yruuQ+Dy/Dg+Cg40KA4agAECf2yj626OOkfnCh71gO0e53Va5aJ7qOyKhZepQhil1jboSKBlMkqNcpAitFtesMVITqTmx5qPFCcqabylKuikEjtzt3wmymVk4wMRrZwqR4fwQTD5M6mm0a3OtrEmnGvJOEHao9EPYwb5XDc7JNn5Kv54PJdu0EfOO2Up3xX8KVkCgYEAoKgzvhXRLtEfPtUgA+XCHluXMlKuI8HXK5ToOckxCJirrT1pmubHYgb7AeYd7yykr8e6R3shJ77aKpyDF53TGvG+4k9hcjO5Ls878qKGcCBdtQrXONEI6jXIL+6kqp5W4JwiSbvYlHCv2/4Izt68RExywPeTkxB+ohjLNieBb2s="),
		
		//签名类型
		SMALL_PROGRAM_SIGN_TYPE("RSA2"),
		
		//字符编码
		SMALL_PROGRAM_CHARSET("GBK");
	
		private String value;

		public String getValue() {
			return value;
		}

		private AlipayServiceEnvConstants(String value) {
			this.value = value;
		}
}